package com.hula.onion.book.server.common;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;

/**
 * Description:
 * Create Date:2018/1/17 19:06
 *
 * @author liangbing
 * @version 1.0
 */
public class LoginForm implements Serializable {

    private static final long serialVersionUID = 123L;

    /**
     * p2p平台标识
     */
    protected int platformId;

    /**
     * userId
     */
    protected String userId;
    /**
     * 登陆用户名
     */
    protected String userName;

    /**
     * 登陆密码
     */
    protected String password;

    /**
     * 验证码
     */
    protected String ticket;

    /**
     * http request
     */
    protected HttpServletRequest request;

    /**
     * http response
     */
    protected HttpServletResponse response;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getPlatformId() {
        return platformId;
    }

    public void setPlatformId(int platformId) {
        this.platformId = platformId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public HttpServletRequest getRequest() {
        return request;
    }

    public void setRequest(HttpServletRequest request) {
        this.request = request;
    }

    public HttpServletResponse getResponse() {
        return response;
    }

    public void setResponse(HttpServletResponse response) {
        this.response = response;
    }
}
